import { KindModel } from "./Kind";
import { StoreModel } from "./Store";

interface Takeout {
    id?: number;
    state?: number;
    takeout_name?: string;
    introduce?: string;
    takeout_portrait?: string;
    create_time?: Date;
    last_update_time?: Date;
    price?: number;
    flow?: number;
    mark?: number;
    remark_count?: number;
    store?: string | StoreModel;
    kind?: number | KindModel;
}


export class TakeoutModel implements Takeout {
    id?: number | undefined;
    state?: number | undefined;
    takeout_name?: string | undefined;
    introduce?: string | undefined;
    takeout_portrait?: string | undefined;
    create_time?: Date | undefined;
    last_update_time?: Date | undefined;
    price?: number | undefined;
    flow?: number | undefined;
    mark?: number | undefined;
    remark_count?: number | undefined;
    store?: string | StoreModel | undefined;
    kind?: number | KindModel | undefined;
}